package com.wontube.smr.conf.dogs;

import com.wontube.core.conf.dogs.FileWatchDog;
import com.wontube.smr.conf.SmrConfig;

public class SmrConfigWatchDog extends FileWatchDog {

	public SmrConfigWatchDog(String confPath) {
		super(confPath);		
	}

	@Override
	protected String getFilename() {
		return "smr.json";
	}

	@Override
	protected void doOnChange() {
		SmrConfig.SINGLE.load(file);
	}
}
